<?php if($nav=$sf_user->getFlash("navigation",false)){?>
  	<div class="navigation">
  		<ul >
  			<?php
  				$i=0;
  				foreach($nav as $name=>$val){ ?>
  				
  				<li>
  				<?php if($i>0){
  					echo "&raquo;";
  				}?>
  				
  					<?php if(isset($val["url"]) && $val["url"]){ ?>
  						<a href="<?php echo $val["url"]?>"><?php echo $name?></a>
  					<?php }else{ ?>
  						<span><?php echo $name?></span>
  					<?php }?>
  				</li>
  			<?php $i++; }?>
  		</ul>
  	</div>
  	<div class="both"></div>
<?php }?>